Skip to content

OpenCL: add fused group_norm/norm, mul, add #15314

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

rmatif
Copy link
Collaborator

@rmatif rmatif commented Aug 14, 2025

This PR adds fused group_norm | norm, mul, add kernels, corresponding test cases have also been added.

Currently, in sdcpp we have GROUP_NORM > RESHAPE > MUL > RESHAPE > ADD, so the existing logic for detecting fused ops doesn’t work here. I need to find a proper way to handle those cases on futur PR

@rmatif rmatif requested review from max-krasnyansky and lhez August 14, 2025 14:02
@github-actions github-actions bot added testing Everything test related ggml changes relating to the ggml tensor library for machine learning OpenCL Issues specific to the OpenCL backend labels Aug 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ggml changes relating to the ggml tensor library for machine learning OpenCL Issues specific to the OpenCL backend testing Everything test related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant